package com.etone.smartAudit.vo.iapDataModel;

import com.etone.smartAudit.enums.DataBaseType;
import com.etone.smartAudit.vo.FileVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * @author: sovy
 * @date: 2020/8/28
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "元数据信息详情")
public class IapDataModelDetailVO extends IapDataModelBaseVO implements Serializable {

    @ApiModelProperty("服务器ip")
    private String serverIp;

    @ApiModelProperty("服务器名称")
    private String serverName;

    @ApiModelProperty("数据库类型")
    private DataBaseType dataBaseType;

    @ApiModelProperty("数据库库名")
    private String databaseName;

    @ApiModelProperty("schema")
    private String schemaName;

    @ApiModelProperty("项目名称")
    private String itemName;

    @ApiModelProperty("数据样例")
    private List<FileVO> dataExamples;

    @ApiModelProperty(value = "数据平台id")
    private Integer dataPssAId;

    @ApiModelProperty(value = "敏感等级id")
    private Integer senLevelId;

    @ApiModelProperty(value = "数据维护标签id集合")
    private List<Integer> dataAssertIds;

    @ApiModelProperty(value = "数据维护标签集合")
    private List<String> dataAssertNames;

    @ApiModelProperty(value = "质量维度标签id集合")
    private List<Integer> dataMassIds;

    @ApiModelProperty(value = "质量维度标签集合")
    private List<String> dataMassNames;

    @ApiModelProperty(value = "使用方维度标签id集合")
    private List<Integer> dimensionIds;

    @ApiModelProperty(value = "使用方维度标签集合")
    private List<String> dimensionNames;

    @ApiModelProperty(value = "自动化维度标签id集合")
    private List<Integer> autoTagIds;

    @ApiModelProperty(value = "自动化维度标签集合")
    private List<String> autoTagNames;
}
